import request from '@/utils/request'

//  查询分类绑定参数信息
export function listCategoryParamsGroup(categoryId){
  return request({
    url: '/manager/goods/category/parameters/group/' + categoryId,
    method: 'get',
  })
}

//  添加参数组
export function addCategoryParamsGroup(data){
  return request({
    url: '/manager/goods/category/parameters/group',
    method: 'post',
    data: data
  })
}

//  编辑参数组
export function editCategoryParamsGroup(data){
  return request({
    url: '/manager/goods/category/parameters/group',
    method: 'put',
    data: data
  })
}

// 删除参数组
export function delCategoryParamsGroup(ids) {
  return request({
    url: '/manager/goods/category/parameters/group/' + ids,
    method: 'delete'
  })
}
